package com.donleo.mybatis.service;

import com.donleo.mybatis.common.CommonResult;
import com.donleo.mybatis.model.Dept;

/**
 * @author liangd
 * date 2020-12-03 11:09
 * code
 */
public interface IDeptService {
    CommonResult findAll();

    Integer add(Dept dept);

    Integer delete(Integer id);

    Integer update(Dept dept);

    Dept findById(Integer id);
}
